package cn.tedu.charging.order.dao.repository;

import cn.tedu.charging.order.pojo.po.ChargingBillFailPO;
import cn.tedu.charging.order.pojo.po.ChargingBillSuccessPO;

public interface BillRepository {
    void saveFailBill(ChargingBillFailPO fail);

    void saveSuccessBill(ChargingBillSuccessPO success);

    long countSuccess(String orderNo);

    long countFail(String orderNo);

    void updateSuccessStatus(Integer id, Integer status);

    ChargingBillSuccessPO selectSuccessByBillId(String billId);

    void saveExceptionBill(ChargingBillSuccessPO successPO);

    void updateSuccess(ChargingBillSuccessPO success);
}
